package com.easy.dn.ui.publish.adapter;

import android.support.annotation.LayoutRes;
import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.easy.dn.bean.JsonDataBean;

import java.util.List;

import dn.easy.com.easyto.R;

/**
 * Created by 丁宁
 * on 2017/9/19.
 * 职位性质 adapter
 */

public class PositionSuitAdapter extends BaseQuickAdapter<JsonDataBean,BaseViewHolder>{

    public PositionSuitAdapter(@LayoutRes int layoutResId, @Nullable List<JsonDataBean> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, JsonDataBean item) {
        helper.setText(R.id.cb_item,item.getName());
    }
}
